package com.qcloud.response;

import com.qcloud.QCloudResponse;

/**
 * Created by YYY on 2017/7/9.
 */
public class QCloudLiveResponse extends QCloudResponse {

    /**
     * 返回码 int 0:成功；其他值:失败
     */
    private int ret;

    /**
     * 错误信息
     */
    private String message;

    @Override
    public boolean isSuccess() {
        return ret == 0;
    }

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
